import React from 'react'
import {
    requireNativeComponent,
} from 'react-native'

import PropTypes from 'prop-types'

var RNTLabel = requireNativeComponent('RNTLabel', YYLabelComponent)

export default class YYLabelComponent extends React.Component {

    static propTypes = {
        content: PropTypes.string,
        numberOfLines: PropTypes.number,
        preferredMaxLayoutWidth: PropTypes.number,
        frameStr: PropTypes.string,
        contentFontSize: PropTypes.number,
        gifFontSize: PropTypes.number,
    }

    render() {
        return (
            <RNTLabel {...this.props}/>
        )
    }
}